/*
 * @,@Author: ,: 宋一楠
 * @,@Date: ,: 2021-02-03 16:30:59
 * @,@LastEditTime: ,: 2021-03-10 16:49:16
 * @,@LastEditors: ,: Please set LastEditors
 * @,@Description: ,: 宋一楠
 * @,@FilePath: ,: /wxapp/src/api/login.js
 */
// 获取精品课列表
export function getWxchatApi(vm) {
    let wxchatApi = {
        // 小程序获取静默登录openid
        getOpenIdApi: (params = {}) =>
            vm.$u.get(
                'wxLogin',
                params, {
                    "content-type": "application/x-www-form-urlencoded"
                }
            ),
        getWXMobile: (params = {}) =>
            vm.$u.get(
                'getMobile',
                params, {
                    "content-type": "application/x-www-form-urlencoded"
                }
            ),
    };
    return wxchatApi;
}